package com.dotndot.controller.network.data;

import android.os.Handler;

import com.dotndot.controller.network.define.INetworkAPI.*;

public class ReqNetworkData implements IReqNetwork
{
    private Handler activityHandler;
    private Handler managerHandler;
    private String uri;
    private REQUEST api;
    private REQUEST_TYPE type;
    private Object data;

    @Override
    public void setActivityHandler( Handler handler )
    {
        this.activityHandler = handler;
    }

    @Override
    public Handler getActivityHandler()
    {
        return this.activityHandler;
    }

    @Override
    public void setManagerHandler( Handler handler )
    {
        this.managerHandler = handler;
    }

    @Override
    public Handler getManagerHandler()
    {
        return this.managerHandler;
    }

    @Override
    public void setURI( String uri )
    {
        this.uri = uri;
    }

    @Override
    public String getURI()
    {
        return this.uri;
    }

    @Override
    public void setAPI( REQUEST api )
    {
        this.api = api;

    }

    @Override
    public REQUEST getAPI()
    {
        return this.api;
    }

    @Override
    public void setType( REQUEST_TYPE type )
    {
        this.type = type;
    }

    @Override
    public REQUEST_TYPE getType()
    {
        return this.type;
    }

    @Override
    public void setDATA( Object data )
    {
        this.data = data;
    }

    @Override
    public Object getData()
    {
        return this.data;
    }
}
